<!DOCTYPE html>
<html>
<head>
    <title>模具型芯需求计划</title>
    #parse("sys/header.html")
</head>
<body>
<div id="rrapp" v-cloak>
    <div>
        <Row :gutter="16" style="margin: 8px 0px 0px 1px">
            <div class="search-group">
                <i-col span="3">
                    <i-select v-model="q.workshop" placeholder="请选择所属车间">
                        <i-option v-for="workshop in workshopList" :value="workshop.deptId" :key="workshop.deptId">{{workshop.name}}
                        </i-option>
                    </i-select>
                </i-col>
                <i-col span="3">
                    <Date-picker type="month" v-model="q.demandMonth" placeholder="请选择需求月份"></Date-picker>
                </i-col>
                <i-button @click="query">查询</i-button>
                <i-button @click="reloadSearch">重置</i-button>
            </div>
        </Row>
        <Row :gutter="16" style="margin: 3px 0px 0px 0px;">
            <div class="buttons-group">
                <i-button type="success" @click="exportData"><i class="fa fa-hand-o-up"></i>&nbsp;导出型芯制作明细</i-button>
                <i-button type="error" @click="del"><i class="fa fa-trash-o"></i>&nbsp;删除</i-button>
                #if($shiro.hasPermission("modulespdemandplan:save"))
                <i-button type="info" @click="add"><i class="fa fa-plus"></i>&nbsp;新增</i-button>
                #end
                #if($shiro.hasPermission("modulespdemandplan:update"))
                <i-button type="warning" @click="update"><i class="fa fa-pencil-square-o"></i>&nbsp;修改</i-button>
                #end
                #if($shiro.hasPermission("modulespdemandplan:delete"))
                <i-button type="error" @click="del"><i class="fa fa-trash-o"></i>&nbsp;删除</i-button>
                #end
            </div>
        </Row>
        <table id="jqGrid"></table>
    </div>
</div>

<script src="${rc.contextPath}/js/module/modulespdemandplan.js?_${date.systemTime}"></script>
</body>
</html>
